package com.frxuexi.visit

import com.frxuexi.lib_base.entity.VisitBeanItem
import com.frxuexi.lib_base.mvi.IUiIntent

sealed class VisitIntent:IUiIntent {

    data object getVisits:VisitIntent()

    data class getVisitByStatus(val status:String):VisitIntent()

    data class getVisitByName(val name:String):VisitIntent()

    data class getVisitByPurpose(val purpose:String):VisitIntent()

    data class addVisit(val beanItem: VisitBeanItem):VisitIntent()

    data class deleteVisit(val id:Int):VisitIntent()

    data class getVisitById(val id:Int):VisitIntent()

    data class approveVisit(val id:Int):VisitIntent()
    data class rejectVisit(val id:Int):VisitIntent()
}